﻿using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZyGames.DZPocker.Model;
using ZyGames.Framework.Model;

namespace ZyGames.DZPocker.Model
{
	/// <summary>
	/// 用户手机号注册
	/// </summary>
	[Serializable, ProtoContract]
	[EntityTable(CacheType.Entity, DbConfig.Data, StorageType = StorageType.ReadWriteRedis)]
	public class TestModel : ShareEntity
	{

		/// <summary>
		/// </summary>
		public TestModel()
			: base(false)
		{

		}
		/// <summary>
		/// PhoneNum
		/// </summary>        
		[ProtoMember(1)]
		[EntityField(true)]
		public string PhoneNum { get; set; }

		/// <summary>
		/// PhoneNum
		/// </summary>        
		[ProtoMember(2)]
		[EntityField]
		public string Pwd { get; set; }
	}
}
